<!-- 面包屑导航栏 -->
<template>
  <nav aria-label="breadcrumb">
    <ol class="breadcrumb">
      <li class="breadcrumb-item">
        <router-link to="/nested">嵌套路由</router-link>
      </li>
      <li class="breadcrumb-item">
        <router-link to="/task">返回上一级</router-link>
      </li>
    </ol>
  </nav>
</template>

<script>
export default {
  name: "NavRouter",
  data() {
    return {
      show: false,
    };
  },
  mounted() {
    setTimeout(() => {
      this.show = true;
    }, 1000);
  },
};
</script>